// app/service/user.js
const Service = require('egg').Service;

class UserService extends Service {
  async find() {
    const data = await this.ctx.model.User.find({});
    return data
  }
}

module.exports = UserService;